* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  outline: none;
  border: none;
}

// 通用a标签样式
.basea {
  font-size: 14px;
  color: #999999;
  line-height: 60px;
}

// 通用小圆点样式
.dot {
  display: flex;
  justify-content: center;
  width: 100%;
  & > div {
    display: inline-block;
    margin: 0 6px;
    width: 12px;
    height: 12px;
    background-color: #dddddd;
    border-radius: 33%;
    cursor: pointer;
  }
}

html {
  min-width: 1200px;
  width: 100%;
  //   overflow: hidden;
}

.box {
  width: 100%;
  overflow: hidden;
}

// 置顶样式
.toTop {
  display: none;
  width: 40px;
  height: 40px;
  background: url(../images/toTop.png) no-repeat center/cover;
  position: fixed;
  bottom: 25%;
  right: 20px;
  cursor: pointer;
  z-index: 999;
  &.show {
    display: block;
  }
}

header {
  position: fixed;
  width: 100%;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  height: 60px;
  background-color: #000;
  & > div {
    width: 92%;
    display: flex;
    justify-content: space-between;
    text-overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    & > span {
      font-size: 17px;
      line-height: 60px;
      color: white;
    }

    ul {
      display: flex;
      & > li {
        padding: 0 10px;
        box-sizing: border-box;
        & > a {
          @extend.basea;
          div {
            width: 34px;
            height: 20px;
            display: inline-block;
            line-height: 20px;
            text-align: center;
            font-size: 12px;
            background-color: #faad14;
            color: #ffffff;
            border-radius: 5px;
          }
        }
      }
      & > li:hover > a {
        color: #ffffff;
      }
    }

    .header-right {
      display: flex;
      align-items: center;
      justify-content: space-around;
      width: 132px;
      .search {
        width: 17.21px;
        height: 17.44px;
        background: url(../images/Vector.png) center/cover no-repeat;
      }
      & > a {
        @extend.basea;
      }
    }
  }
}

.main-nav {
  z-index: 3;
  position: fixed;
  top: 60px;
  width: 100%;
  height: 60px;
  display: flex;
  background-color: #fff;
  ul {
    width: 1200px;
    display: flex;
    justify-content: center;
    margin: auto;
    & > li {
      height: 60px;
      line-height: 60px;
      margin: 0 15px;
      text-overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      cursor: pointer;
      & > span {
        font-size: 14px;
        color: #8c8c8c;
        font-weight: bold;
      }
    }
    & > li:hover > span {
      color: #1890ff;
    }
    & > li.active-li,
    & > li.active-li > span {
      color: #262626 !important;
      pointer-events: none;
      cursor: default;
      border-bottom: 3px solid #1890ff;
    }
    & > li.active-li > span {
      border: none !important;
    }
  }
}

footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 106px;
  background-color: #000;
  a {
    @extend.basea;
    font-size: 12px;
  }
  a:hover {
    color: #ffffff;
  }

  .f-top {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    height: 60px;
    color: #666666;
    font-size: 12px;
    .l {
      width: 287px;
      line-height: 60px;
    }
    .m {
      display: flex;
      justify-content: space-between;
      width: 340px;
      padding-right: 228px;
    }
    .r {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 110px;
      span {
        color: #999999;
      }
    }
  }

  .f-bottom {
    position: absolute;
    top: 46px;
  }
}
